.class public Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Z

.field private b:Lcom/waiqin365/lightapp/deptmanager/c/a;

.field private c:Lcom/waiqin365/lightapp/deptmanager/c/a;

.field private d:Lcom/waiqin365/lightapp/deptmanager/c/a;

.field private e:Lcom/waiqin365/lightapp/deptmanager/e;

.field private f:Lcom/waiqin365/lightapp/view/LabelView_vertical;

.field private g:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

.field private h:Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;

.field private i:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->a:Z

    return-void
.end method

.method private a()V
    .locals 1

    const v0, 0x7f0c072f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->f:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const v0, 0x7f0c072e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->g:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    const v0, 0x7f0c0730

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->h:Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;

    const v0, 0x7f0c0732

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->i:Landroid/widget/TextView;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->a:Z

    return v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    return-object v0
.end method

.method private b()V
    .locals 1

    const v0, 0x7f0c007c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0081

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0731

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c:Lcom/waiqin365/lightapp/deptmanager/c/a;

    return-object v0
.end method

.method private c()V
    .locals 4

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->showProgressDialog(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->g:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->d:Ljava/lang/String;

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->a:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->h:Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;->i()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->c:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->h:Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;->o()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->b:Ljava/lang/String;

    :goto_0
    new-instance v1, Lcom/waiqin365/lightapp/deptmanager/b/a/h;

    iget-object v2, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->auth_code:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->a:Z

    if-eqz v0, :cond_1

    sget-object v0, Lcom/waiqin365/lightapp/deptmanager/b/a/i;->b:Lcom/waiqin365/lightapp/deptmanager/b/a/i;

    :goto_1
    invoke-direct {v1, v2, v3, v0}, Lcom/waiqin365/lightapp/deptmanager/b/a/h;-><init>(Ljava/lang/String;Lcom/waiqin365/lightapp/deptmanager/c/a;Lcom/waiqin365/lightapp/deptmanager/b/a/i;)V

    new-instance v0, Lcom/waiqin365/lightapp/deptmanager/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->e:Lcom/waiqin365/lightapp/deptmanager/e;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/deptmanager/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/deptmanager/b/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/deptmanager/b/b;->start()V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->f:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->f()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->c:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->f:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->getTag()Ljava/lang/Object;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->b:Ljava/lang/String;

    goto :goto_0

    :cond_1
    sget-object v0, Lcom/waiqin365/lightapp/deptmanager/b/a/i;->a:Lcom/waiqin365/lightapp/deptmanager/b/a/i;

    goto :goto_1
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/e;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->e:Lcom/waiqin365/lightapp/deptmanager/e;

    return-object v0
.end method

.method private delete()V
    .locals 3

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->showProgressDialog(Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/deptmanager/b/a/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->auth_code:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v2, v2, Lcom/waiqin365/lightapp/deptmanager/c/a;->a:Ljava/lang/String;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/deptmanager/b/a/a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/lightapp/deptmanager/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->e:Lcom/waiqin365/lightapp/deptmanager/e;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/deptmanager/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/deptmanager/b/c;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/deptmanager/b/b;->start()V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->d:Lcom/waiqin365/lightapp/deptmanager/c/a;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->back()V

    goto :goto_0

    :sswitch_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c()V

    goto :goto_0

    :sswitch_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->delete()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c007c -> :sswitch_0
        0x7f0c0081 -> :sswitch_1
        0x7f0c0731 -> :sswitch_2
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 7

    const v2, 0x7f0c007e

    const v6, 0x7f0807ab

    const/16 v5, 0x8

    const v4, 0x7f0c0731

    const/4 v3, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f030138

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->a()V

    new-instance v0, Lcom/waiqin365/lightapp/deptmanager/e;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/deptmanager/e;-><init>(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->e:Lcom/waiqin365/lightapp/deptmanager/e;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isModify"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->a:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->a:Z

    if-eqz v0, :cond_4

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f080250

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    const v0, 0x7f0c0081

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f0805d3

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0081

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->a:Z

    if-eqz v0, :cond_5

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "superDeptId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/lightapp/deptmanager/d/a;->b(Ljava/lang/String;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->b:Ljava/lang/String;

    invoke-static {v0}, Lcom/waiqin365/lightapp/deptmanager/d/a;->b(Ljava/lang/String;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/deptmanager/c/a;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/deptmanager/c/a;

    iput-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->d:Lcom/waiqin365/lightapp/deptmanager/c/a;

    :cond_0
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->mContext:Landroid/content/Context;

    const v1, 0x7f08021a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->back()V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->g:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    const v1, 0x7f08024f

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->g:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    const v1, 0x7f08027f

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setHint(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->g:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setMustinput(Ljava/lang/String;)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->a:Z

    if-eqz v0, :cond_7

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->g:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v1, v1, Lcom/waiqin365/lightapp/deptmanager/c/a;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setValue(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->f:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->h:Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->h:Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;->setLabel(Ljava/lang/CharSequence;)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/kehu/share/a/m;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/kehu/share/a/m;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v2, v2, Lcom/waiqin365/lightapp/deptmanager/c/a;->b:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/kehu/share/a/m;->b:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v2, v2, Lcom/waiqin365/lightapp/deptmanager/c/a;->c:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/kehu/share/a/m;->c:Ljava/lang/String;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->h:Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;->setSelectedDepts(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->h:Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/SingleDepartmentSelectView_vertical;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/deptmanager/c/a;->a()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-gtz v0, :cond_3

    :cond_2
    sget-boolean v0, Lcom/waiqin365/lightapp/deptmanager/w;->k:Z

    if-nez v0, :cond_6

    :cond_3
    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setEnabled(Z)V

    :goto_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b()V

    return-void

    :cond_4
    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f08000f

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_5
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "superDeptId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/lightapp/deptmanager/d/a;->b(Ljava/lang/String;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c:Lcom/waiqin365/lightapp/deptmanager/c/a;

    new-instance v0, Lcom/waiqin365/lightapp/deptmanager/c/a;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/deptmanager/c/a;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "superDeptId"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b:Lcom/waiqin365/lightapp/deptmanager/c/a;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "superDeptName"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->c:Ljava/lang/String;

    goto/16 :goto_1

    :cond_6
    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/view/View;->setEnabled(Z)V

    goto :goto_2

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->f:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->f:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v1, v1, Lcom/waiqin365/lightapp/deptmanager/c/a;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->f:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c:Lcom/waiqin365/lightapp/deptmanager/c/a;

    iget-object v1, v1, Lcom/waiqin365/lightapp/deptmanager/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->f:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setBottomLineStatus(Z)V

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->i:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_2
.end method
